#include "stdio.h"
#include <string.h>
#define SIZE (0x100)
struct {
  int i;
  char content[SIZE];
} arr[2];
int main() {
  memset(arr[0].content, 0, SIZE * sizeof(char));
  memset(arr[1].content, 0, SIZE * sizeof(char));
  printf("b1:\n");
  scanf("%s", arr[0].content);
  printf("b2:\n");
  scanf("%s", arr[1].content);
  printf("result:%d\n", memcmp(arr, arr + 1, sizeof(arr[0])));
}
